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AAUokB,EAErC9U,EAAgBrS,MAAM,CAAG,IAAM+C,EAC/B,4BACA,GAHA,0BAIL,+EAEAqkB,EAAWhsB,KAAK,IAtBd2H,GAyBNsP,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAiBrS,MAAM,EAAG,IAAM+C,GAC9BikB,CAAAA,EACC,GAAAnsB,EAAAC,GAAA,EAACY,IAAKA,CACJL,IAAK,yBACLM,IAAI,cACJL,MAAO,GACPC,OAAQ,KAGV,GAAAV,EAAAC,GAAA,EAACkT,OAAAA,CAAKhT,UAAU,2BAAkB,YAMhD,0NClFuBmD,SAAAA,EAAMA,CAAC6L,EAAE,CAAA3L,UAAA,uFAQzB,IAAM+L,EAAwBmd,IACnC,IAAIC,EAAOD,EAeX,MAFOC,CANPA,EAAOA,CADPA,EAAOA,CAHPA,EAAOA,EAAKzqB,OAAO,CAAC,sBAAuB,wBAG/BA,OAAO,CAAC,iCAAkC,gBAC1CA,OAAO,CACjB,mBACA,wCAIUA,OAAO,CAAC,MAAO,OAG7B","sources":["webpack://_N_E/?d8cf","webpack://_N_E/./components/Attraction/locationmap.tsx","webpack://_N_E/./api/newsletterSubscriptionMutation.ts","webpack://_N_E/./utils/getUserName.js","webpack://_N_E/./layouts/Newsletter/Newsletter.tsx","webpack://_N_E/./node_modules/styled-jsx/dist/index/index.js","webpack://_N_E/./node_modules/styled-jsx/style.js","webpack://_N_E/./api/abondonedCheckoutMutation.ts","webpack://_N_E/./types/pages/things-to-do.ts","webpack://_N_E/./shared-components/FAQs/FAQs.tsx","webpack://_N_E/./components/ThingsToDo/FaqSection/FaqSection.tsx","webpack://_N_E/./components/Attraction/topTip.tsx","webpack://_N_E/./components/Attraction/AddTopTipModal.tsx","webpack://_N_E/./components/ThingsToDo/AttractionTopTips/AttractionTopTips.tsx","webpack://_N_E/./components/ThingsToDo/Header/Header.tsx","webpack://_N_E/./components/ThingsToDo/MobileView/MobileView.tsx","webpack://_N_E/./components/ThingsToDo/ThingsToDo.tsx","webpack://_N_E/./components/Attraction/PageHeroSlider.tsx","webpack://_N_E/./components/Attraction/featuredNav.tsx","webpack://_N_E/./components/Attraction/DateAndPaxModal.tsx","webpack://_N_E/./components/Attraction/topBar.tsx","webpack://_N_E/./components/Attraction/AttractionPage.tsx","webpack://_N_E/./pages/[slug]/[slug2].tsx","webpack://_N_E/./shared-components/Breadcrumb/Breadcrumb.tsx","webpack://_N_E/./utils/getHtmlFromMarkdown.js","webpack://_N_E/./node_modules/next/dist/compiled/client-only/index.js","webpack://_N_E/./node_modules/swiper/modules/a11y/a11y.min.css","webpack://_N_E/./node_modules/swiper/modules/effect-fade/effect-fade.min.css","webpack://_N_E/./node_modules/swiper/modules/lazy/lazy.min.css","webpack://_N_E/./node_modules/swiper/modules/thumbs/thumbs.min.css","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/[slug]/[slug2]\",\n function () {\n return require(\"private-next-pages/[slug]/[slug2].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/[slug]/[slug2]\"])\n });\n }\n ","import Image from 'next/image';\n\ninterface Iprops {\n name?: string;\n address: string;\n data?: Record;\n}\n\nconst LocationMap = ({ name, address, data }: Iprops) => {\n const hoursOfOperation = data?.hoursOfOperation\n ?.split('\\n')\n .filter((e: any) => e);\n const mapSrc = `https://www.google.com/maps?q=${encodeURIComponent(\n address\n )}&output=embed`;\n return (\n
\n \n
\n \n
\n {data?.address && (\n
\n <>\n \n \n
\n
{data.address}
\n \n
\n )}\n \n \n );\n};\n\nexport default LocationMap;\n","import { gql } from '@apollo/client';\n\nconst SUBSCRIBE_TO_NEWSLETTER = gql`\n mutation SubscribeToNewsletter($status: String, $email: String) {\n insert_boatnew_news_letter_subscribers(\n objects: { status: $status, email: $email }\n ) {\n affected_rows\n }\n }\n`;\nexport default SUBSCRIBE_TO_NEWSLETTER;\n","export function extractUserName(email) {\n const parts = email.split('@');\n const username = parts[0];\n const cleanUsername = username.replace(/[^a-zA-Z]/g, '');\n return cleanUsername;\n}\n","import React, { useEffect, useState } from 'react';\nimport { toast } from 'react-toastify';\nimport styled from 'styled-components';\nimport 'react-toastify/dist/ReactToastify.css';\nimport { useMutation } from '@apollo/client';\nimport SUBSCRIBE_TO_NEWSLETTER from '../../api/newsletterSubscriptionMutation';\nimport { extractUserName } from '../../utils/getUserName';\nimport { useAuthContext } from '../../utils/context/authContext';\nimport { useRouter } from 'next/router';\nimport Image from 'next/image';\nimport { SocialMediaIcons } from '../../shared-components/SocialMediaIcons';\n\nconst Newsletter = ({}) => {\n const { user }: any = useAuthContext();\n const [email, setEmail] = useState('');\n const [subscribeToNewsletter] = useMutation(SUBSCRIBE_TO_NEWSLETTER);\n useEffect(() => {\n setEmail(user !== null && user.emailVerified ? user.email : '');\n }, [user]);\n\n const handleSubmit = async (event: React.FormEvent) => {\n const username = extractUserName(email);\n\n event.preventDefault();\n event.stopPropagation();\n try {\n const { data } = await subscribeToNewsletter({\n variables: {\n email: email,\n status: 'Subscribed'\n }\n });\n if (data.insert_boatnew_news_letter_subscribers.affected_rows > 0) {\n const emailData = {\n userName: username,\n email: email\n };\n await fetch('/api/subscription_mail', {\n method: 'POST',\n body: JSON.stringify(emailData)\n });\n toast.success('Successfully subscribed to our Newsletters!');\n setEmail('');\n } else {\n toast.error('Subscription failed. Please try again later.');\n setEmail('');\n }\n } catch (error) {\n if (\n error instanceof Error &&\n error.toString().includes('Uniqueness violation')\n ) {\n toast.error(\n 'This email is already subscribed. Please use a different email.'\n );\n } else {\n toast.error('An error occurred. Please try again later.');\n }\n }\n };\n\n const NewsletterHeading = styled.h2`\n font-weight: 600;\n text-align: center;\n color: #333333;\n `;\n const SeparatorLine = styled.div`\n height: 1px;\n background: rgba(5, 7, 60, 0.6);\n border: 1px rgba(19, 19, 19, 0.6);\n `;\n const Newsletter = styled.p`\n font-weight: 400;\n text-align: center;\n `;\n const router = useRouter();\n return (\n <>\n \n
\n {/* \n
\n \n
\n
\n COMING SOON\n
\n
*/}\n
\n

\n Newsletter\n

\n \n Subscribe to our newsletter!\n \n \n
\n
\n \n Signup to our newsletter and we will make sure to let you know\n whenever we have news!\n \n
\n\n
\n
\n setEmail(e.target.value)}\n maxLength={50}\n minLength={2}\n value={email}\n />\n \n Subscribe\n \n
\n
\n \n \n \n );\n};\n\nexport default Newsletter;\n","require('client-only');\nvar React = require('react');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar React__default = /*#__PURE__*/_interopDefaultLegacy(React);\n\n/*\nBased on Glamor's sheet\nhttps://github.com/threepointone/glamor/blob/667b480d31b3721a905021b26e1290ce92ca2879/src/sheet.js\n*/ function _defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\nvar isProd = typeof process !== \"undefined\" && process.env && process.env.NODE_ENV === \"production\";\nvar isString = function(o) {\n return Object.prototype.toString.call(o) === \"[object String]\";\n};\nvar StyleSheet = /*#__PURE__*/ function() {\n function StyleSheet(param) {\n var ref = param === void 0 ? {} : param, _name = ref.name, name = _name === void 0 ? \"stylesheet\" : _name, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? isProd : _optimizeForSpeed;\n invariant$1(isString(name), \"`name` must be a string\");\n this._name = name;\n this._deletedRulePlaceholder = \"#\" + name + \"-deleted-rule____{}\";\n invariant$1(typeof optimizeForSpeed === \"boolean\", \"`optimizeForSpeed` must be a boolean\");\n this._optimizeForSpeed = optimizeForSpeed;\n this._serverSheet = undefined;\n this._tags = [];\n this._injected = false;\n this._rulesCount = 0;\n var node = typeof window !== \"undefined\" && document.querySelector('meta[property=\"csp-nonce\"]');\n this._nonce = node ? node.getAttribute(\"content\") : null;\n }\n var _proto = StyleSheet.prototype;\n _proto.setOptimizeForSpeed = function setOptimizeForSpeed(bool) {\n invariant$1(typeof bool === \"boolean\", \"`setOptimizeForSpeed` accepts a boolean\");\n invariant$1(this._rulesCount === 0, \"optimizeForSpeed cannot be when rules have already been inserted\");\n this.flush();\n this._optimizeForSpeed = bool;\n this.inject();\n };\n _proto.isOptimizeForSpeed = function isOptimizeForSpeed() {\n return this._optimizeForSpeed;\n };\n _proto.inject = function inject() {\n var _this = this;\n invariant$1(!this._injected, \"sheet already injected\");\n this._injected = true;\n if (typeof window !== \"undefined\" && this._optimizeForSpeed) {\n this._tags[0] = this.makeStyleTag(this._name);\n this._optimizeForSpeed = \"insertRule\" in this.getSheet();\n if (!this._optimizeForSpeed) {\n if (!isProd) {\n console.warn(\"StyleSheet: optimizeForSpeed mode not supported falling back to standard mode.\");\n }\n this.flush();\n this._injected = true;\n }\n return;\n }\n this._serverSheet = {\n cssRules: [],\n insertRule: function(rule, index) {\n if (typeof index === \"number\") {\n _this._serverSheet.cssRules[index] = {\n cssText: rule\n };\n } else {\n _this._serverSheet.cssRules.push({\n cssText: rule\n });\n }\n return index;\n },\n deleteRule: function(index) {\n _this._serverSheet.cssRules[index] = null;\n }\n };\n };\n _proto.getSheetForTag = function getSheetForTag(tag) {\n if (tag.sheet) {\n return tag.sheet;\n }\n // this weirdness brought to you by firefox\n for(var i = 0; i < document.styleSheets.length; i++){\n if (document.styleSheets[i].ownerNode === tag) {\n return document.styleSheets[i];\n }\n }\n };\n _proto.getSheet = function getSheet() {\n return this.getSheetForTag(this._tags[this._tags.length - 1]);\n };\n _proto.insertRule = function insertRule(rule, index) {\n invariant$1(isString(rule), \"`insertRule` accepts only strings\");\n if (typeof window === \"undefined\") {\n if (typeof index !== \"number\") {\n index = this._serverSheet.cssRules.length;\n }\n this._serverSheet.insertRule(rule, index);\n return this._rulesCount++;\n }\n if (this._optimizeForSpeed) {\n var sheet = this.getSheet();\n if (typeof index !== \"number\") {\n index = sheet.cssRules.length;\n }\n // this weirdness for perf, and chrome's weird bug\n // https://stackoverflow.com/questions/20007992/chrome-suddenly-stopped-accepting-insertrule\n try {\n sheet.insertRule(rule, index);\n } catch (error) {\n if (!isProd) {\n console.warn(\"StyleSheet: illegal rule: \\n\\n\" + rule + \"\\n\\nSee https://stackoverflow.com/q/20007992 for more info\");\n }\n return -1;\n }\n } else {\n var insertionPoint = this._tags[index];\n this._tags.push(this.makeStyleTag(this._name, rule, insertionPoint));\n }\n return this._rulesCount++;\n };\n _proto.replaceRule = function replaceRule(index, rule) {\n if (this._optimizeForSpeed || typeof window === \"undefined\") {\n var sheet = typeof window !== \"undefined\" ? this.getSheet() : this._serverSheet;\n if (!rule.trim()) {\n rule = this._deletedRulePlaceholder;\n }\n if (!sheet.cssRules[index]) {\n // @TBD Should we throw an error?\n return index;\n }\n sheet.deleteRule(index);\n try {\n sheet.insertRule(rule, index);\n } catch (error) {\n if (!isProd) {\n console.warn(\"StyleSheet: illegal rule: \\n\\n\" + rule + \"\\n\\nSee https://stackoverflow.com/q/20007992 for more info\");\n }\n // In order to preserve the indices we insert a deleteRulePlaceholder\n sheet.insertRule(this._deletedRulePlaceholder, index);\n }\n } else {\n var tag = this._tags[index];\n invariant$1(tag, \"old rule at index `\" + index + \"` not found\");\n tag.textContent = rule;\n }\n return index;\n };\n _proto.deleteRule = function deleteRule(index) {\n if (typeof window === \"undefined\") {\n this._serverSheet.deleteRule(index);\n return;\n }\n if (this._optimizeForSpeed) {\n this.replaceRule(index, \"\");\n } else {\n var tag = this._tags[index];\n invariant$1(tag, \"rule at index `\" + index + \"` not found\");\n tag.parentNode.removeChild(tag);\n this._tags[index] = null;\n }\n };\n _proto.flush = function flush() {\n this._injected = false;\n this._rulesCount = 0;\n if (typeof window !== \"undefined\") {\n this._tags.forEach(function(tag) {\n return tag && tag.parentNode.removeChild(tag);\n });\n this._tags = [];\n } else {\n // simpler on server\n this._serverSheet.cssRules = [];\n }\n };\n _proto.cssRules = function cssRules() {\n var _this = this;\n if (typeof window === \"undefined\") {\n return this._serverSheet.cssRules;\n }\n return this._tags.reduce(function(rules, tag) {\n if (tag) {\n rules = rules.concat(Array.prototype.map.call(_this.getSheetForTag(tag).cssRules, function(rule) {\n return rule.cssText === _this._deletedRulePlaceholder ? null : rule;\n }));\n } else {\n rules.push(null);\n }\n return rules;\n }, []);\n };\n _proto.makeStyleTag = function makeStyleTag(name, cssString, relativeToTag) {\n if (cssString) {\n invariant$1(isString(cssString), \"makeStyleTag accepts only strings as second parameter\");\n }\n var tag = document.createElement(\"style\");\n if (this._nonce) tag.setAttribute(\"nonce\", this._nonce);\n tag.type = \"text/css\";\n tag.setAttribute(\"data-\" + name, \"\");\n if (cssString) {\n tag.appendChild(document.createTextNode(cssString));\n }\n var head = document.head || document.getElementsByTagName(\"head\")[0];\n if (relativeToTag) {\n head.insertBefore(tag, relativeToTag);\n } else {\n head.appendChild(tag);\n }\n return tag;\n };\n _createClass(StyleSheet, [\n {\n key: \"length\",\n get: function get() {\n return this._rulesCount;\n }\n }\n ]);\n return StyleSheet;\n}();\nfunction invariant$1(condition, message) {\n if (!condition) {\n throw new Error(\"StyleSheet: \" + message + \".\");\n }\n}\n\nfunction hash(str) {\n var _$hash = 5381, i = str.length;\n while(i){\n _$hash = _$hash * 33 ^ str.charCodeAt(--i);\n }\n /* JavaScript does bitwise operations (like XOR, above) on 32-bit signed\n * integers. Since we want the results to be always positive, convert the\n * signed int to an unsigned by doing an unsigned bitshift. */ return _$hash >>> 0;\n}\nvar stringHash = hash;\n\nvar sanitize = function(rule) {\n return rule.replace(/\\/style/gi, \"\\\\/style\");\n};\nvar cache = {};\n/**\n * computeId\n *\n * Compute and memoize a jsx id from a basedId and optionally props.\n */ function computeId(baseId, props) {\n if (!props) {\n return \"jsx-\" + baseId;\n }\n var propsToString = String(props);\n var key = baseId + propsToString;\n if (!cache[key]) {\n cache[key] = \"jsx-\" + stringHash(baseId + \"-\" + propsToString);\n }\n return cache[key];\n}\n/**\n * computeSelector\n *\n * Compute and memoize dynamic selectors.\n */ function computeSelector(id, css) {\n var selectoPlaceholderRegexp = /__jsx-style-dynamic-selector/g;\n // Sanitize SSR-ed CSS.\n // Client side code doesn't need to be sanitized since we use\n // document.createTextNode (dev) and the CSSOM api sheet.insertRule (prod).\n if (typeof window === \"undefined\") {\n css = sanitize(css);\n }\n var idcss = id + css;\n if (!cache[idcss]) {\n cache[idcss] = css.replace(selectoPlaceholderRegexp, id);\n }\n return cache[idcss];\n}\n\nfunction mapRulesToStyle(cssRules, options) {\n if (options === void 0) options = {};\n return cssRules.map(function(args) {\n var id = args[0];\n var css = args[1];\n return /*#__PURE__*/ React__default[\"default\"].createElement(\"style\", {\n id: \"__\" + id,\n // Avoid warnings upon render with a key\n key: \"__\" + id,\n nonce: options.nonce ? options.nonce : undefined,\n dangerouslySetInnerHTML: {\n __html: css\n }\n });\n });\n}\nvar StyleSheetRegistry = /*#__PURE__*/ function() {\n function StyleSheetRegistry(param) {\n var ref = param === void 0 ? {} : param, _styleSheet = ref.styleSheet, styleSheet = _styleSheet === void 0 ? null : _styleSheet, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? false : _optimizeForSpeed;\n this._sheet = styleSheet || new StyleSheet({\n name: \"styled-jsx\",\n optimizeForSpeed: optimizeForSpeed\n });\n this._sheet.inject();\n if (styleSheet && typeof optimizeForSpeed === \"boolean\") {\n this._sheet.setOptimizeForSpeed(optimizeForSpeed);\n this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();\n }\n this._fromServer = undefined;\n this._indices = {};\n this._instancesCounts = {};\n }\n var _proto = StyleSheetRegistry.prototype;\n _proto.add = function add(props) {\n var _this = this;\n if (undefined === this._optimizeForSpeed) {\n this._optimizeForSpeed = Array.isArray(props.children);\n this._sheet.setOptimizeForSpeed(this._optimizeForSpeed);\n this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();\n }\n if (typeof window !== \"undefined\" && !this._fromServer) {\n this._fromServer = this.selectFromServer();\n this._instancesCounts = Object.keys(this._fromServer).reduce(function(acc, tagName) {\n acc[tagName] = 0;\n return acc;\n }, {});\n }\n var ref = this.getIdAndRules(props), styleId = ref.styleId, rules = ref.rules;\n // Deduping: just increase the instances count.\n if (styleId in this._instancesCounts) {\n this._instancesCounts[styleId] += 1;\n return;\n }\n var indices = rules.map(function(rule) {\n return _this._sheet.insertRule(rule);\n })// Filter out invalid rules\n .filter(function(index) {\n return index !== -1;\n });\n this._indices[styleId] = indices;\n this._instancesCounts[styleId] = 1;\n };\n _proto.remove = function remove(props) {\n var _this = this;\n var styleId = this.getIdAndRules(props).styleId;\n invariant(styleId in this._instancesCounts, \"styleId: `\" + styleId + \"` not found\");\n this._instancesCounts[styleId] -= 1;\n if (this._instancesCounts[styleId] < 1) {\n var tagFromServer = this._fromServer && this._fromServer[styleId];\n if (tagFromServer) {\n tagFromServer.parentNode.removeChild(tagFromServer);\n delete this._fromServer[styleId];\n } else {\n this._indices[styleId].forEach(function(index) {\n return _this._sheet.deleteRule(index);\n });\n delete this._indices[styleId];\n }\n delete this._instancesCounts[styleId];\n }\n };\n _proto.update = function update(props, nextProps) {\n this.add(nextProps);\n this.remove(props);\n };\n _proto.flush = function flush() {\n this._sheet.flush();\n this._sheet.inject();\n this._fromServer = undefined;\n this._indices = {};\n this._instancesCounts = {};\n };\n _proto.cssRules = function cssRules() {\n var _this = this;\n var fromServer = this._fromServer ? Object.keys(this._fromServer).map(function(styleId) {\n return [\n styleId,\n _this._fromServer[styleId]\n ];\n }) : [];\n var cssRules = this._sheet.cssRules();\n return fromServer.concat(Object.keys(this._indices).map(function(styleId) {\n return [\n styleId,\n _this._indices[styleId].map(function(index) {\n return cssRules[index].cssText;\n }).join(_this._optimizeForSpeed ? \"\" : \"\\n\")\n ];\n })// filter out empty rules\n .filter(function(rule) {\n return Boolean(rule[1]);\n }));\n };\n _proto.styles = function styles(options) {\n return mapRulesToStyle(this.cssRules(), options);\n };\n _proto.getIdAndRules = function getIdAndRules(props) {\n var css = props.children, dynamic = props.dynamic, id = props.id;\n if (dynamic) {\n var styleId = computeId(id, dynamic);\n return {\n styleId: styleId,\n rules: Array.isArray(css) ? css.map(function(rule) {\n return computeSelector(styleId, rule);\n }) : [\n computeSelector(styleId, css)\n ]\n };\n }\n return {\n styleId: computeId(id),\n rules: Array.isArray(css) ? css : [\n css\n ]\n };\n };\n /**\n * selectFromServer\n *\n * Collects style tags from the document with id __jsx-XXX\n */ _proto.selectFromServer = function selectFromServer() {\n var elements = Array.prototype.slice.call(document.querySelectorAll('[id^=\"__jsx-\"]'));\n return elements.reduce(function(acc, element) {\n var id = element.id.slice(2);\n acc[id] = element;\n return acc;\n }, {});\n };\n return StyleSheetRegistry;\n}();\nfunction invariant(condition, message) {\n if (!condition) {\n throw new Error(\"StyleSheetRegistry: \" + message + \".\");\n }\n}\nvar StyleSheetContext = /*#__PURE__*/ React.createContext(null);\nStyleSheetContext.displayName = \"StyleSheetContext\";\nfunction createStyleRegistry() {\n return new StyleSheetRegistry();\n}\nfunction StyleRegistry(param) {\n var configuredRegistry = param.registry, children = param.children;\n var rootRegistry = React.useContext(StyleSheetContext);\n var ref = React.useState(function() {\n return rootRegistry || configuredRegistry || createStyleRegistry();\n }), registry = ref[0];\n return /*#__PURE__*/ React__default[\"default\"].createElement(StyleSheetContext.Provider, {\n value: registry\n }, children);\n}\nfunction useStyleRegistry() {\n return React.useContext(StyleSheetContext);\n}\n\n// Opt-into the new `useInsertionEffect` API in React 18, fallback to `useLayoutEffect`.\n// https://github.com/reactwg/react-18/discussions/110\nvar useInsertionEffect = React__default[\"default\"].useInsertionEffect || React__default[\"default\"].useLayoutEffect;\nvar defaultRegistry = typeof window !== \"undefined\" ? createStyleRegistry() : undefined;\nfunction JSXStyle(props) {\n var registry = defaultRegistry ? defaultRegistry : useStyleRegistry();\n // If `registry` does not exist, we do nothing here.\n if (!registry) {\n return null;\n }\n if (typeof window === \"undefined\") {\n registry.add(props);\n return null;\n }\n useInsertionEffect(function() {\n registry.add(props);\n return function() {\n registry.remove(props);\n };\n // props.children can be string[], will be striped since id is identical\n }, [\n props.id,\n String(props.dynamic)\n ]);\n return null;\n}\nJSXStyle.dynamic = function(info) {\n return info.map(function(tagInfo) {\n var baseId = tagInfo[0];\n var props = tagInfo[1];\n return computeId(baseId, props);\n }).join(\" \");\n};\n\nexports.StyleRegistry = StyleRegistry;\nexports.createStyleRegistry = createStyleRegistry;\nexports.style = JSXStyle;\nexports.useStyleRegistry = useStyleRegistry;\n","module.exports = require('./dist/index').style\n","import { gql } from '@apollo/client';\n\nconst INSERT_LOGS_ABANDONED_CHECKOUTS = gql`\n mutation InsertLogsAbandonedCheckouts(\n $customer_name: String!\n $email: String!\n $phone: String!\n $tour: String!\n $tour_id: String!\n $tour_date: String!\n $pax: Int!\n ) {\n insert_logs_abandoned_checkouts(\n objects: {\n customer_name: $customer_name\n email: $email\n phone: $phone\n tour: $tour\n tour_id: $tour_id\n tour_date: $tour_date\n pax: $pax\n }\n ) {\n returning {\n id\n }\n }\n }\n`;\nexport const INSERT_TOP_TIP = gql`\n mutation InsertTopTip($text: String!, $id: Int!) {\n insert_strapi_top_tips(objects: { text: $text, attraction: $id }) {\n returning {\n id\n text\n }\n }\n }\n`;\nexport const FETCH_TOP_TIPS = gql`\n query fetchTopTips($slug: String!) {\n strapi_Attraction(where: { slug: { _eq: $slug } }) {\n top_tips(order_by: { id: desc }) {\n id\n text\n dislikes\n likes\n }\n }\n }\n`;\n\nexport const UPDATE_TOP_TIP = gql`\n mutation UpdateTopTipLikesAndDislikes($id: Int, $likes: Int, $dislikes: Int) {\n update_strapi_top_tips(\n where: { id: { _eq: $id } }\n _set: { likes: $likes, dislikes: $dislikes }\n ) {\n returning {\n id\n text\n likes\n dislikes\n }\n }\n }\n`;\n\nexport default INSERT_LOGS_ABANDONED_CHECKOUTS;\n","export enum EPageType {\n THINGS_TODO = 'things-todo'\n}\nexport type Faq = {\n question: string;\n answer: string;\n};\nexport type LinkItem = {\n name: string;\n url: string;\n};\n\nexport interface RelatedUrl {\n parent: string;\n links: LinkItem[];\n}\nexport interface NeedToKnowItems {\n subheader: string;\n icon: string;\n header: string;\n}\nexport interface City {\n name: string;\n coordinates: {\n lng: number;\n lat: number;\n };\n id: string;\n}\nexport interface Product {\n name: string;\n image: {\n alt: string;\n url: string;\n };\n slug: string;\n type: string;\n duration: number;\n}\nexport interface Trending {\n name: string;\n author: string;\n image: {\n alternativeText: string;\n url: string;\n };\n publication_date: string;\n slug: string;\n}\nexport interface ThingsToDO {\n meta_title: string;\n created_at: {\n _seconds: number;\n _nanoseconds: number;\n };\n canonical: string;\n published: boolean;\n title: string;\n og_image: string;\n og_title: string;\n meta_description: string;\n og_description: string;\n slug: string;\n faqs: Faq[];\n related_urls: RelatedUrl[];\n need_to_know_items: NeedToKnowItems[];\n need_to_know: string;\n city: City;\n products: Product[];\n trending: Trending[];\n}\n","import React from 'react';\nimport styled from 'styled-components';\nimport { EPageType } from '../../types/pages/things-to-do';\nimport { convertMarkdownToHtml } from '../../utils/getHtmlFromMarkdown';\n\ninterface IProps {\n requirementSection?: {\n title: string;\n requirements: string[];\n };\n faqSection?: {\n question: string;\n answer: string;\n };\n index: number;\n isOpen: boolean;\n sectionType: string;\n pageType?: string;\n toggleSection: () => void;\n}\nconst ContentStyle = styled.div`\n animation: slowDown 500ms linear forwards;\n @keyframes slowDown {\n 0% {\n transform: scaleY(0);\n }\n 80% {\n transform: scaleY(1.1);\n }\n 100% {\n transform: scaleY(1);\n }\n }\n`;\n\nconst FAQs = ({\n pageType,\n requirementSection,\n faqSection,\n index,\n isOpen,\n sectionType,\n toggleSection\n}: IProps) => {\n const BorderStyle = styled.div`\n border-bottom: 1px solid\n ${pageType === EPageType.THINGS_TODO\n ? 'gray'\n : sectionType === 'requirement'\n ? 'black'\n : 'white'};\n margin-bottom: ${isOpen ? '0px' : '2px'};\n opacity: ${pageType === EPageType.THINGS_TODO ? '0.25' : '1'};\n `;\n\n return (\n \n toggleSection()}\n >\n \n {requirementSection?.title || faqSection?.question}\n \n
\n \n +\n
\n \n \n {isOpen && (\n \n

\n {requirementSection?.title}\n {requirementSection?.title\n ? 's are expected to have the following requirements:'\n : ''}\n

\n {requirementSection?.requirements && (\n
    \n {requirementSection?.requirements.map((requirement, i) => (\n
  • \n {requirement}\n
  • \n ))}\n
\n )}\n {faqSection?.answer && (\n

\n )}\n \n )}\n \n \n );\n};\n\nexport default FAQs;\n","import React, { useState } from 'react';\nimport FAQs from '../../../shared-components/FAQs/FAQs';\nimport { EPageType, Faq } from '../../../types/pages/things-to-do';\n\ninterface IProps {\n faqs: Faq[];\n}\n\nexport const FaqSection = ({ faqs }: IProps) => {\n const [openSections, setOpenSections] = useState<{\n requirement: string | null;\n faq: string | null;\n }>({ requirement: null, faq: null });\n\n const toggleSection = (sectionType: string, index: number) => {\n setOpenSections((prevOpenSections: any) => ({\n ...prevOpenSections,\n [sectionType]:\n prevOpenSections[sectionType] === String(index) ? null : String(index)\n }));\n };\n\n return (\n
\n
\n \n FAQs\n \n
\n {faqs?.length > 0 ? (\n faqs?.map((section, index) => (\n toggleSection('faq', index)}\n />\n ))\n ) : (\n

No Faqs Available

\n )}\n
\n
\n
\n );\n};\n","import { useEffect, useState } from 'react';\nimport { EPageType } from '../../types/pages/things-to-do';\nimport { useAuthContext } from '../../utils/context/authContext';\nimport Image from 'next/image';\nimport { useRouter } from 'next/router';\nexport interface TopTip {\n id: string;\n text: string;\n likes: number;\n dislikes: number;\n liked?: boolean;\n disliked?: boolean;\n}\n\nexport interface Top {\n top_tips: TopTip[];\n}\n\ninterface Iprops {\n updateTopTip: (\n id: string,\n likes: number,\n dislikes: number,\n isLikeClick: boolean\n ) => Promise;\n setIsModalOpen: (show: boolean) => void;\n top: Top[];\n pageType?: EPageType;\n setShowErrorModal?: React.Dispatch>;\n}\ntype myTopTip = {\n id: string;\n isLiked: boolean;\n isDisliked: boolean;\n likes: number;\n dislikes: number;\n};\n\nconst TopTips = ({\n top,\n setIsModalOpen,\n updateTopTip,\n pageType,\n setShowErrorModal\n}: Iprops) => {\n const [myTopTips, setMyTopTips] = useState([]);\n const { user }: any = useAuthContext();\n const router = useRouter();\n useEffect(() => {\n if (myTopTips.length > 0)\n localStorage.setItem('myTopTips', JSON.stringify(myTopTips));\n }, [myTopTips]);\n\n const SetTopTipHandler = (storedTopTips: string) => {\n try {\n const parsedTopTips: myTopTip[] = JSON.parse(storedTopTips) as myTopTip[];\n if (myTopTips.length === 0)\n setMyTopTips(\n parsedTopTips.map(ptt => {\n const foundTT = top[0].top_tips?.find(tt => tt.id == ptt.id);\n if (foundTT) {\n return {\n ...ptt,\n likes: foundTT.likes,\n dislikes: foundTT.dislikes\n };\n }\n return {\n ...ptt\n };\n })\n );\n } catch (error) {}\n };\n useEffect(() => {\n if (top[0]?.top_tips?.length > 0) {\n const storedTopTips = localStorage.getItem('myTopTips');\n if (storedTopTips) {\n if (user?.emailVerified && pageType === EPageType.THINGS_TODO) {\n SetTopTipHandler(storedTopTips);\n } else {\n SetTopTipHandler(storedTopTips);\n }\n }\n }\n }, [top[0]]);\n\n const handleDisLikeClick = (id: string, likes: number, dislikes: number) => {\n const myToolTip = myTopTips.find(tt => tt.id === id);\n if (myToolTip) {\n setMyTopTips(\n myTopTips.map(mtt => {\n if (mtt.id === id) {\n updateTopTip(\n id,\n mtt?.isLiked\n ? mtt.likes === 0\n ? mtt.likes\n : mtt.likes - 1\n : mtt.likes,\n mtt.isDisliked\n ? mtt.dislikes === 0\n ? mtt.dislikes\n : mtt.dislikes - 1\n : mtt.dislikes + 1,\n false\n );\n\n return {\n ...mtt,\n isDisliked: mtt.isDisliked ? false : true,\n dislikes: mtt.isDisliked\n ? mtt.dislikes === 0\n ? mtt.dislikes\n : mtt.dislikes - 1\n : mtt.dislikes + 1,\n likes: mtt?.isLiked\n ? mtt.likes === 0\n ? mtt.likes\n : mtt.likes - 1\n : mtt.likes,\n isLiked: false\n };\n }\n return mtt;\n })\n );\n } else {\n setMyTopTips([\n ...myTopTips,\n {\n id,\n isLiked: false,\n isDisliked: true,\n likes,\n dislikes: dislikes + 1\n }\n ]);\n updateTopTip(id, likes, dislikes + 1, false);\n }\n };\n const handleLikeClick = async (\n id: string,\n likes: number,\n dislikes: number\n ) => {\n const myToolTip = myTopTips.find(tt => tt.id === id);\n if (myToolTip) {\n setMyTopTips(\n myTopTips.map(mtt => {\n if (mtt.id === id) {\n updateTopTip(\n id,\n mtt.isLiked\n ? mtt.likes === 0\n ? mtt.likes\n : mtt.likes - 1\n : mtt.likes + 1,\n mtt?.isDisliked\n ? mtt.dislikes === 0\n ? mtt.dislikes\n : mtt.dislikes - 1\n : mtt.dislikes,\n true\n );\n return {\n ...mtt,\n isLiked: mtt.isLiked ? false : true,\n likes: mtt.isLiked\n ? mtt.likes === 0\n ? mtt.likes\n : mtt.likes - 1\n : mtt.likes + 1,\n dislikes: mtt?.isDisliked\n ? mtt.dislikes === 0\n ? mtt.dislikes\n : mtt.dislikes - 1\n : mtt.dislikes,\n isDisliked: false\n };\n }\n return mtt;\n })\n );\n } else {\n setMyTopTips([\n ...myTopTips,\n { id, isLiked: true, isDisliked: false, likes: likes + 1, dislikes }\n ]);\n updateTopTip(id, likes + 1, dislikes, true);\n }\n };\n\n const handleThingstodoLikeClick = async (\n id: string,\n likes: number,\n dislikes: number\n ) => {\n updateTopTip(id, likes + 1, dislikes, true);\n };\n\n const handleThingstodoDisLikeClick = async (\n id: string,\n likes: number,\n dislikes: number\n ) => {\n updateTopTip(id, likes, dislikes + 1, false);\n };\n\n const [showAllTips, setShowAllTips] = useState(false);\n const [visibleTips, setVisibleTips] = useState(6);\n const handleSeeMoreClick = () => {\n setShowAllTips(!showAllTips);\n setVisibleTips(showAllTips ? 6 : top[0]?.top_tips.length);\n };\n\n useEffect(() => {\n const handleBackButton = () => {\n localStorage.setItem(\n 'referringPage',\n `${window.location.origin}${router.asPath}`\n );\n };\n\n window.addEventListener('popstate', handleBackButton);\n\n return () => {\n window.removeEventListener('popstate', handleBackButton);\n };\n }, []);\n\n const openModalHandler = () => {\n if (pageType === EPageType.THINGS_TODO && !user?.emailVerified) {\n localStorage.setItem('referringPage', window.location.href);\n setShowErrorModal && setShowErrorModal(true);\n } else {\n setIsModalOpen(true);\n }\n };\n const DislikeTipHandler = (id: string, likes: number, dislikes: number) => {\n if (pageType === EPageType.THINGS_TODO) {\n if (user?.emailVerified) {\n handleThingstodoDisLikeClick(id, likes, dislikes);\n } else {\n localStorage.setItem('referringPage', window.location.href);\n setShowErrorModal && setShowErrorModal(true);\n }\n } else {\n handleDisLikeClick(id, likes, dislikes);\n }\n };\n const LikeTipHandler = (id: string, likes: number, dislikes: number) => {\n if (pageType === EPageType.THINGS_TODO) {\n if (user?.emailVerified) {\n handleThingstodoLikeClick(id, likes, dislikes);\n } else {\n localStorage.setItem('referringPage', window.location.href);\n setShowErrorModal && setShowErrorModal(true);\n }\n } else {\n handleLikeClick(id, likes, dislikes);\n }\n };\n\n return (\n
\n \n \n Top Tips\n \n\n {\n event.stopPropagation();\n openModalHandler();\n }}\n className=\"flex items-center justify-center rounded-full border-gray-200 bg-[#1F2C5B] w-8 h-8 text-white\"\n >\n \n \n \n \n
\n
\n
\n {top[0]?.top_tips?.length > 0 ? (\n top[0]?.top_tips?.map((tip, index) => (\n = visibleTips ? 'hidden' : ''\n }`}\n key={tip.id}\n >\n
\n \n {tip.text}\n \n
\n
\n {\n LikeTipHandler(tip.id, tip.likes, tip.dislikes);\n event.stopPropagation();\n }}\n className=\"text-green w-[20px] h-[20px]\"\n >\n {pageType === EPageType.THINGS_TODO ? (\n tip.liked ? (\n \n ) : (\n \n )\n ) : myTopTips.find(mtt => mtt.id === tip.id)\n ?.isLiked ? (\n \n ) : (\n \n )}\n \n {pageType === EPageType.THINGS_TODO ? (\n {tip.likes ?? tip.likes}\n ) : (\n \n {myTopTips.find(mtt => mtt.id === tip.id)?.likes ??\n tip.likes}\n \n )}{' '}\n
\n
\n {\n DislikeTipHandler(tip.id, tip.likes, tip.dislikes);\n event.stopPropagation();\n }}\n >\n {pageType === EPageType.THINGS_TODO ? (\n tip.disliked ? (\n \n ) : (\n \n )\n ) : myTopTips.find(mtt => mtt.id === tip.id)\n ?.isDisliked ? (\n \n ) : (\n \n )}\n \n {pageType === EPageType.THINGS_TODO ? (\n {tip.dislikes ?? tip.dislikes}\n ) : (\n \n {myTopTips.find(mtt => mtt.id === tip.id)?.dislikes ??\n tip.dislikes}\n \n )}\n
\n
\n
\n
\n ))\n ) : (\n
\n

\n Looks like there are no tips. Be the first one to add a tip to\n help people enjoy!{' '}\n

\n
\n )}\n
\n \n \n {top[0]?.top_tips?.length > 6 && (\n \n {showAllTips ? 'Show Less' : 'See More'}\n \n )}\n \n \n );\n};\n\nexport default TopTips;\n","import React, {\n Dispatch,\n SetStateAction,\n useEffect,\n useRef,\n useState\n} from 'react';\ninterface TopTip {\n id: string;\n text: string;\n likes: number;\n dislikes: number;\n}\n\ninterface Top {\n top_tips: TopTip[];\n}\ninterface Iroprs {\n setIsModalOpen: (open: boolean) => void;\n top: Top[];\n toptipText: string;\n setToptipText: Dispatch>;\n handleSubmit: () => Promise;\n pageType?: string; //for temporary disable submit button on things-todo page\n}\n\nconst AddTopTipModal = ({\n setIsModalOpen,\n pageType,\n toptipText,\n setToptipText,\n handleSubmit\n}: Iroprs) => {\n const [isButtonDisabled, setIsButtonDisabled] = useState(true);\n const [errorMessage, setErrorMessage] = useState('');\n\n const handleToptipChange = (e: React.ChangeEvent) => {\n const newText = e.target.value;\n\n if (newText.trim() === '') {\n setToptipText('');\n setErrorMessage('Top tip cannot be empty.');\n } else {\n // Check if the new text contains more than 3 consecutive spaces\n if (/\\s{3,}/.test(newText)) {\n setToptipText(toptipText);\n setErrorMessage('Only up to 3 consecutive spaces are allowed.');\n } else {\n if (newText.length >= 1 && newText.length < 50) {\n setIsButtonDisabled(true);\n setErrorMessage('Minimum length should be 50 characters.');\n } else if (newText.length >= 100) {\n setErrorMessage('Maximum length cannot be more than 100 characters.');\n } else {\n setIsButtonDisabled(false);\n setErrorMessage('');\n }\n setToptipText(newText);\n }\n }\n };\n\n const modalRef: any = useRef(null);\n\n const handleCloseModal = (e: any) => {\n if (modalRef.current && !modalRef.current.contains(e.target)) {\n setIsModalOpen(false);\n }\n };\n\n useEffect(() => {\n document.addEventListener('mousedown', handleCloseModal);\n return () => {\n document.removeEventListener('mousedown', handleCloseModal);\n };\n }, []);\n\n return (\n <>\n {/* Modal Wrapper z-index should be 1150 or in between 1100 and 1200 */}\n
\n \n
\n setIsModalOpen(false)}\n >\n \n \n \n \n \n
\n
\n

Share your Top Tip

\n\n
\n \n
\n
\n {errorMessage && (\n

{errorMessage}

\n )}\n
\n {toptipText.length > 0 && (\n

{`${toptipText.length}/100`}

\n )}\n
\n
\n \n Submit\n \n
\n \n
\n
\n \n \n );\n};\n\nexport default AddTopTipModal;\n","import React, { useCallback, useEffect, useState } from 'react';\nimport TopTips, { Top, TopTip } from '../../Attraction/topTip';\nimport { EPageType } from '../../../types/pages/things-to-do';\nimport AddTopTipModal from '../../Attraction/AddTopTipModal';\nimport axios from 'axios';\nimport { toast } from 'react-toastify';\nimport { useAuthContext } from '../../../utils/context/authContext';\nimport NotificationModal, {\n EModalType\n} from '../../../shared-components/NotificationModal/NotificationModal';\nimport { useRouter } from 'next/router';\n\ninterface AttractionTopTipsProps {\n topTips: TopTip[];\n}\n\nexport const AttractionTopTips = ({ topTips }: AttractionTopTipsProps) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [showErrorModal, setShowErrorModal] = useState(false);\n const [toptipText, setToptipText] = useState('');\n const [top, setTop] = useState([]);\n const [citySlug, setCitySlug] = useState('');\n const { user }: any = useAuthContext();\n useEffect(() => {\n const allTops = [{ top_tips: topTips }];\n setTop(allTops);\n }, [topTips]);\n const router = useRouter();\n\n useEffect(() => {\n if (typeof window !== undefined) {\n const currentURL = window.location.href;\n const parts = currentURL.split('/');\n setCitySlug(parts[parts.length - 1]);\n }\n }, [topTips]);\n\n const toggleModal = useCallback(() => {\n setShowErrorModal(!showErrorModal);\n }, [showErrorModal]);\n\n const updateTopTip = async (\n id: string,\n likes: number,\n dislikes: number,\n isLikeClick: boolean\n ) => {\n const url = isLikeClick\n ? `${process.env.NEXT_PUBLIC_FIREBASE_CONNECTION}/like-top-tip/${id}`\n : `${process.env.NEXT_PUBLIC_FIREBASE_CONNECTION}/dislike-top-tip/${id}`;\n const token = await getCurrentToken();\n const data = {\n slug: citySlug\n };\n const headers = {\n Authorization: token,\n 'Content-Type': 'application/json'\n };\n try {\n const response = await axios.put(url, data, { headers });\n if (isLikeClick) {\n setTop(prevTop => {\n const newTop = prevTop.map(top => {\n return {\n ...top,\n top_tips: top.top_tips.map(tip =>\n tip.id == id\n ? {\n ...tip,\n likes: response.data.tip.likes,\n dislikes: response.data.tip.dislikes,\n liked: !tip.liked,\n disliked: tip.disliked ? !tip.disliked : tip.disliked\n }\n : tip\n )\n };\n });\n return newTop;\n });\n } else {\n setTop(prevTop => {\n const newTop = prevTop.map(top => {\n return {\n ...top,\n top_tips: top.top_tips.map(tip =>\n tip.id == id\n ? {\n ...tip,\n likes: response.data.tip.likes,\n dislikes: response.data.tip.dislikes,\n liked: tip.liked ? !tip.liked : tip.liked,\n disliked: !tip.disliked\n }\n : tip\n )\n };\n });\n return newTop;\n });\n }\n } catch (error) {\n console.error('Error updating top tip:', error);\n }\n };\n\n const getCurrentToken = async () => {\n try {\n if (user) {\n const idToken = await user.getIdToken();\n return idToken;\n } else {\n return null;\n }\n } catch (error) {\n console.error('Error fetching ID token:', error);\n return null;\n }\n };\n const handleSubmit = async () => {\n const url = `${process.env.NEXT_PUBLIC_FIREBASE_CONNECTION}/add-top-tip/${citySlug}`;\n const token = await getCurrentToken();\n const data = {\n tip: toptipText\n };\n const headers = {\n Authorization: token,\n 'Content-Type': 'application/json'\n };\n try {\n const response = await axios.post(url, data, { headers });\n const updatedTopTip = response.data;\n const newTopTip = {\n id: updatedTopTip.id,\n text: updatedTopTip.text,\n likes: 0,\n dislikes: 0\n };\n toast.success('Tip added successfully');\n setTop(prevTop => {\n const updatedTop = {\n ...prevTop[0],\n top_tips: [newTopTip, ...prevTop[0].top_tips]\n };\n return [updatedTop, ...prevTop.slice(1)];\n });\n setIsModalOpen(false);\n setToptipText('');\n } catch (axiosError: any) {\n if (\n axiosError.response &&\n axiosError.response.data &&\n axiosError.response.data.error\n ) {\n const firebaseError = axiosError.response.data.error;\n\n if (\n firebaseError.includes(\n 'Firebase ID token has expired. Get a fresh ID token from your client app and try'\n )\n ) {\n toast.error(\n 'Firebase ID token has expired. Please refresh the token.'\n );\n }\n } else {\n if (axiosError.response.data.message)\n toast.error(axiosError.response.data.message);\n }\n setIsModalOpen(false);\n setToptipText('');\n }\n };\n return (\n
\n \n {isModalOpen && (\n \n )}\n {showErrorModal && (\n router.push('/signin')}\n />\n )}\n
\n );\n};\n","import React, { useEffect } from 'react';\nimport Breadcrumb from '../../../shared-components/Breadcrumb/Breadcrumb';\nimport { ThingsToDo } from '../ThingsToDo';\nimport { useRouter } from 'next/router';\n\ninterface IProps {\n cityName: string | undefined;\n citySlug: string | undefined;\n}\n\nexport const Header = ({ cityName, citySlug }: IProps) => {\n const breadcrumbLinks = [\n { title: 'Home', hrefLink: '/' },\n {\n title: cityName ? cityName : 'City',\n hrefLink: `${citySlug ? `/${citySlug}` : `/`}`\n },\n {\n title: `Things to do in ${cityName}`,\n hrefLink: `${citySlug ? `/${citySlug}/things-to-do-in-${citySlug}` : `/`}`\n }\n ];\n return (\n
\n

\n Things to do in {cityName}\n

\n \n
\n );\n};\n","import React, { useEffect, useState } from 'react';\nimport { Map } from '../Map/Map';\nimport Image from 'next/image';\nimport { LoadingSpinner } from '../../../shared-components/LoadingSpinner/LoadingSpinner';\nimport Pagination from '../../../shared-components/Pagination/Pagination';\nimport { AttractionTopTips } from '../AttractionTopTips/AttractionTopTips';\nimport { FaqSection } from '../FaqSection/FaqSection';\nimport { RelatedBreadcrumbLinks } from '../RelatedBreadcrumbLinks/RelatedBreadcrumbLinks';\nimport Footer from '../../../layouts/Footer/footer';\nimport Newsletter from '../../../layouts/Newsletter/Newsletter';\nimport {\n EAttractionCardPageType,\n ThingsTodoMobileProps\n} from '../../../types/components/attraction-card';\nimport scrollToElement from '../../../utils/scrollIntoView';\nimport { ToastContainer } from 'react-toastify';\nimport AttractionCard from '../../../shared-components/AttractionCard/AttractionCard';\n\nexport const MobileView = ({\n attractionData,\n setAttractionData,\n thingsToDoDetails,\n showFullMap,\n topTips,\n radius,\n setRadius,\n mapRef,\n paginatedAttractionData,\n currentPage,\n attractionsPerPage,\n handlePageChange\n}: ThingsTodoMobileProps) => {\n const [expanded, setExpanded] = useState(false);\n const [showMapButton, setShowMapButton] = useState(false);\n const [attractionCardsVisible, setAttractionsCardsVisible] = useState(false);\n\n // Hide Show Map Button when we are out of attractions Div\n useEffect(() => {\n const handleScroll = () => {\n const attractionsSection = document.getElementById('attractions-card');\n\n if (attractionsSection) {\n const rect = attractionsSection.getBoundingClientRect();\n\n if (paginatedAttractionData.length == 1 && rect.bottom <= 574) {\n setShowMapButton(false);\n } else if (\n (paginatedAttractionData.length == 0 ||\n paginatedAttractionData.length == 1) &&\n rect.bottom > 400\n ) {\n setShowMapButton(true);\n } else {\n const isInView = rect.bottom > window.innerHeight;\n\n setAttractionsCardsVisible(isInView);\n setShowMapButton(isInView);\n }\n }\n };\n\n const sliderDiv = document.getElementById('sliderDiv');\n if (sliderDiv) {\n sliderDiv.addEventListener('scroll', handleScroll);\n return () => {\n sliderDiv.removeEventListener('scroll', handleScroll);\n };\n }\n }, [expanded]);\n\n useEffect(() => {\n if (!expanded) {\n scrollToElement('attractions-card');\n }\n }, [attractionData]);\n\n // For Slideup/SlideDown mobile Attractions Card\n const toggleExpand = () => {\n setExpanded(prevExpanded => !prevExpanded);\n setShowMapButton(attractionCardsVisible);\n };\n\n const totalPages =\n (attractionData && Math.ceil(attractionData.length / attractionsPerPage)) ||\n 0;\n\n useEffect(() => {\n scrollToElement('attractions-card');\n }, [currentPage]);\n\n return (\n
\n \n\n \n \n
\n\n {attractionData ? (\n

{`Over ${attractionData.length} Attraction${\n attractionData?.length == 1 ? '' : 's'\n } within map area`}

\n ) : (\n
\n )}\n

\n \n
\n {attractionData === undefined ? (\n
\n \n
\n ) : paginatedAttractionData.length === 0 ? (\n \n \n

\n Currently no attractions available\n

\n
\n ) : (\n
\n {paginatedAttractionData.map((cardDetails, index) => (\n \n ))}\n
\n )}\n\n {expanded && showMapButton && (\n 1\n ? `bottom-24`\n : paginatedAttractionData.length == 1\n ? `bottom-[9rem] msm:bottom-[20rem] z-0`\n : `top-24`\n } left-1/2 transform -translate-x-1/2 transition-all duration-500 ease-in-out`}\n >\n \n {paginatedAttractionData.length === 0 ? (\n \n ) : (\n \n )}\n Show Map\n \n \n )}\n {totalPages > 1 && expanded && (\n handlePageChange(page)}\n />\n )}\n \n 1 ? 'mt-0' : 'mt-6'\n } z-10 bg-white`}\n >\n {/* */}\n\n {/* {thingsToDoDetails.products && (\n \n )} */}\n\n {/* */}\n {topTips && }\n\n {thingsToDoDetails.faqs && (\n \n )}\n\n {thingsToDoDetails.related_urls && (\n \n )}\n\n \n\n